import request from "./http";

// 轮播图数据
export function getBanner() {
    return request({
        url: '/banner?type=2',
        method: 'get',
    })
}

// 推荐歌单
export function song_sheet() {
    return request({
        url: '/personalized',
        method: 'get',
    })
}

// 推荐新音乐
export function getnewsong() {
    return request({
        url: "/personalized/newsong",
        method: "get"
    })
}

// 歌单详情
export function getDetail(params) {
    return request({
        url: "playlist/detail",
        method: "get",
        params
    })
}